﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Class1
{
    //属性包括编号（Id）、姓名（Name）,
    //性别 （Sex）、身份证号（Cardid）、联系方式（Tel）、职称（Title）、工资号（Wageno），
    class Teacher : Public
    {
        private string Title;
        private long Wageno;
        public string TITLE
        {
            get { return this.Title; }
            set { this.Title = value; }
        }
        public long WAGENO
        {
            get { return this.Wageno; }
            set { this.Wageno = value; }
        }
        public void ter(int Id, string Name, char Sex, string Cardid, long Te,string tit,long wan)
        {
            Console.WriteLine("{0}的教师编号为{1}，性别为{2}，身份证号是{3}，联系方式为{4}，职称是{5}，工资号为{6}。", this.NAME, this.ID, this.SEX, this.CARDID, this.TEL, this.TITLE, this.WAGENO);
        }
        public void ter2()
        {
            base.ID = 2;
            base.NAME = "花火";
            base.SEX = '女';
            base.CARDID = "375245345345376";
            base.TEL = 1564564575;
            this.TITLE = "教师";
            this.WAGENO = 37867845;
            Console.WriteLine("{0}的教师编号为{1}，性别为{2}，身份证号是{3}，联系方式为{4}，职称是{5}，工资号为{6}。", this.NAME, this.ID, this.SEX, this.CARDID, this.TEL, this.TITLE, this.WAGENO);
        }
    }
}